<div class="yui-g">
<form action="<?php echo url_for('@default?module=account&action=update'); ?>" method="POST" name="account" class="myform">
  <fieldset>
    <legend><?php echo ($sf_request->getParameter('action') === 'create') ? __('Create account') : __('Edit account'); ?></legend>
    
    <?php echo $form; ?>
    
    <dl class="button-container">
      <dt></dt>
      <dd class="input">
        <button type="submit"><?php echo __('Save'); ?></button>
      </dd>
    </dl>
    
  </fieldset>
</form>
</div>